<?php
/*** IMPORTANT: TO BE USED IN 'THE LOOP' ***/
$tumbnail= cl_get_the_gallery_thumbnail();
?>

<article class="post">
	<div class="content preview">
		<div class="alignleft m_block">
		
			<?php if(!empty($tumbnail)){?>
			<div class="alignleft topleftwide hide_for_mobile">
				<a href="<?php the_permalink(); ?>"><?php echo $tumbnail;?></a>
			</div>			
			<?php }?>
		
			<div class="alignleft topleftwide m_block">
				<?php cl_the_gallery_info(); ?>
			</div>
			
			<div class="clear"></div>
		</div>
		
		<div class="excerpt m_block">
			<label class="alignright topright box small white soft hide_for_mobile publish_date"><?php echo cl_get_the_published_date(); ?></label>
			<div class="clear"></div>
			<?php the_excerpt(); ?>
			<label class="alignleft bottomleft box small white soft hide_for_tablet publish_date"><?php echo cl_get_the_published_date(); ?></label>
		</div>		

		<div class="clear"></div>
	</div>
	
	<footer class="hide_for_mobile">
		<ul>
			<li><?php echo cl_get_the_modified_date(true);?></li>	
		</ul>		
		<?php cl_template('social'); ?>
	</footer>	
	
	<div class="clear"></div>
	
</article>
